package com.meichis.yndms.adapter;

import android.content.Context;

import com.meichis.mcsappframework.adapter.recyclerview.CommonAdapter;
import com.meichis.mcsappframework.adapter.recyclerview.base.ViewHolder;
import com.meichis.yndms.R;
import com.meichis.yndms.model.InspectTemplate;

import java.util.List;

public class VstFreeQuestionAdapter extends CommonAdapter<InspectTemplate> {

    public VstFreeQuestionAdapter(Context context, int layoutId, List<InspectTemplate> datas) {
        super(context, layoutId, datas);
    }

    @Override
    protected void convert(ViewHolder holder, InspectTemplate inspectTemplate, int position) {
        holder.setText(R.id.tv_question_title, inspectTemplate.getName());
    }

}
